package org.xurui.bsj.protocol.utils;

public class NumberUtils {
    public static Integer parseInt(String num){
        if(num==null||num.length()==0){
            return null;
        }

        return Integer.parseInt(num);
    }
    public static Double parseDouble(String num){
        if(num==null||num.length()==0){
            return null;
        }
        return Double.parseDouble(num);
    }
}
